package cn.jiangxiong.pethome.system.user.service;

import cn.jiangxiong.pethome.base.service.IBaseService;
import cn.jiangxiong.pethome.system.user.domain.Employee;

public interface IEmployeeService extends IBaseService<Employee> {
  /*  //查询一个
    Employee findOne(Long id);
    //查询全部
    List<Employee> findAll();
    //分页查询高级查询
    List<Employee> findByQuery(EmployeeQuery query);
    //查询总条数
    Long findByQueryCount(EmployeeQuery query);
    //添加
    void add(Employee employee);
    //修改
    void update(Employee employee);
    //删除
    void delete(Long id);*/
    //根据id查询子类
    Long findByParentId(Long id);
    //批量删除
 /*   void batchDel(List<Long> ids);*/
}
